package com.qdxwx.data.mapper.advert;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.advert.AdvertType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface AdvertTypeMapper {

	 List<AdvertType> selectList(@Param("e") AdvertType websiteImagesType, @Param("page") PageRequest page);

	 long selectCount(@Param("e") AdvertType websiteImagesType);

	 int insert(AdvertType websiteImagesType);

	 int update(AdvertType websiteImagesType);

	 int deleteById(int typeId);

}
